package com.sz.biz.trade.ord.service;

import com.sz.biz.trade.ord.dto.PathPDFDto;
import com.sz.biz.trade.ord.dto.TrdOrderConfirmationInfoDto;
import com.sz.biz.trade.ord.dto.TrdOrderConfirmationSaveDto;

/**
 * Function: 贸易订单确认服务 <br>
 * Author: jifeixing <br>
 * Date: 2017-07-15 14:09:00
 */

public interface TrdOrderConfirmationService {

    /**
     * 保存订单确认单数据
     * @param trdOrderConfirmationSaveDto
     */
    void save(TrdOrderConfirmationSaveDto trdOrderConfirmationSaveDto);

    /**
     * 订单确认单
     * @param orderNo
     * @return
     */
    TrdOrderConfirmationInfoDto findByOrderNo(String orderNo);
    /**
     * 订单确认单PDF导出路径
     * @param orderNo
     * @return
     */
    PathPDFDto findPathByOrderNo(String orderNo);


    /**
     * 保存生成好的pdf的id
     * @param orderNo
     */
    void createAndSavePDFFile(String orderNo);
  
}
